package cn.bs.busuo.account.dao.persist.mapper;

import cn.bs.busuo.account.pojo.entity.UsersCharacter;
import cn.bs.busuo.account.pojo.vo.UserCharacterVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDateTime;
import java.util.List;

public interface UserCharacterMapper extends BaseMapper<UsersCharacter> {

    int insertMany(Long userId, List<Long> characterIds, LocalDateTime gmtCreate, LocalDateTime gmtModified);



    int selectUserTagIfExits(Long userId, List<Long> characterIds);

    List<UserCharacterVO> listTag(Long userId);

    int deleteTagById(Long userId, List<Long> characterIds);
}
